package cn.wolfcode.wolf2w;

import cn.wolfcode.wolf2w.business.util.BannerUtil;
import cn.wolfcode.wolf2w.common.security.annotation.EnableCustomConfig;
import cn.wolfcode.wolf2w.common.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.data.redis.connection.RedisConnectionFactory;

/**
 * @author 浪兎兎
 * @since 2025-05-29-11:43
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@EnableCustomConfig
@EnableRyFeignClients
public class MessageApplication {
    public static void main(String[] args) {
        SpringApplication.run(MessageApplication.class, args);
        BannerUtil.printStartLogo(BannerUtil.Color.BRIGHT_GREEN, "消息模块启动成功");
    }
}
